//
//  Common.h
//  RssRead
//
//  Created by 旺财 on 10-11-10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XMLSupport/GDataXMLNode.h";
#import "Config.h";

@interface Common : NSObject {
	
}
//字符串去html标志
+(NSString *)flattenHTML:(NSString *)html;
//字符串定长md5加密
+(NSString *) md5:(NSString *)str ;
//获取应用程序根目录
+(NSString *) getRootDocDir;
//获取全局xml root
+(GDataXMLElement *) getrootE;
//设置全局xml root
+(void)setroot:(GDataXMLElement *) roote;
//获取全局list;
+(NSMutableArray *) getlistE;
//设置全局list;
+(void)setlistE:(NSMutableArray *) liste;
//初始化应用程序设置
+(void)initConfig;
//初始化目录
+(void) initDir:(NSString *) path;
//初始化OPML
+(void) initOPMLby:(NSString *) resouceOPML to:rootOPML;
+(Config *) getConfig;
@end
